package com.itheima.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author xiangjun.deng
 * email 17670934918dxj@sina.com
 * @date 2021-10-12 17:57
 * @desc
 */
@Data
public class Person {
    private String name;
    private String age;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date birth;

}
